package com.niu.mapper;

import com.niu.bean.Cat;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface CatSelectMapper {
    public List<Cat> getCats();

    public Integer getCount();

    public Map<String,Object> getCatByIdToMap(@Param("id")Integer id);

    @MapKey("id")
    public Map<String,Object> getMaps();
}
